class CreateTaobaokeShops < ActiveRecord::Migration
  def self.up
    create_table :taobaoke_shops do |t|
      t.string :t_user_id, :null => false
      t.string :shop_title, :null => false
      t.string :click_url, :null => false
      t.string :commission_rate
      t.boolean :status, :default => 1
      t.timestamps
    end
  end

  def self.down
    drop_table :taobaoke_shops
  end
end
